package com.lmj.controller;

import com.lmj.dto.DataResponse;
import com.lmj.service.HandposeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/handpose")
public class HandposeController {

    @Autowired
    private HandposeService handposeService;

    // 获取手势
    @RequestMapping
    public DataResponse getHandpose(@RequestBody String request) {
        return handposeService.getHandpose(request);
    }

}
